package com.acme.bankapp.domain.bank;

public enum Gender {
    MALE(1), FEMALE(0);

    private int gender;

    Gender(int g) {
        this.gender = g;
    }

    public String toString() {
        if (this.gender == 0) {
            return "Ms.";
        } else {
            return "Mr.";
        }
    }

}